GP Ethernet communication driver

 

GP Ethernet communication driver is the driver to communicate with GP touch panel computer of ethernet port of Digital Electronics Corporation Co., Ltd. in Japan.

 

1. Read settings

 

<Figure 1> is read setting example of GP Ethernet communication driver. 

<Figure 1>  Read setting example of GP Ethernet communication driver

Device part of  <Figure 1> input Device type(UDP/IP), IP address of PLC(192.168.10.20), service port of UDP/IP protocol ( 8000 ),respectively, according to setting of GP touch panel.

Also you can input enable of use of 'DWORD/FLOAT address x 2' (0 : don't use = word unit address, 1 : use = word unit address x 2, default = 1),  'IP address of computer'( example = 192.168.10.20), by using option part.

 

Note) IP address and other config of GP series touch panel can set GP touch panel.

 

GP Ethernet communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – Don't care. ( Fixed to 0 )

2) Read memory type – Memory type = W(default), W2, D, D2, F, F2. ( Refer to <Table 1> )

W = word Lo Hi,  W2 = word Hi Lo,  D = double word Lo Hi,  D2 = double word Hi Lo,  F = float Lo Hi,  F2 = float Hi Lo.

3) Read start address – Read start address in memory.

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – Read size = max 3000 word.

 

Read schedule example)

READ,     0,     W,     0,    0, 500,

READ,     0,     W,  2000,  500,  20,

DWORD,    0,     D,  3000,    0,  10,

FLOAT,    0,     F,  4000,    0,  10,

 

<Table 1> is memory type and contents of GP Ethernet communication driver. 

Memory type

Contents

W

Word Lo Hi

W2

Word Hi Lo

D

Double word Lo Hi

D2

Double word Hi Lo

F

Float Lo Hi

F2

Float Hi Lo

<Table 1> Memory type and contents of GP Ethernet communication driver

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of GP Ethernet communication driver¡¯s Option dialogue box

 You can set read schedule by using , , button and listbox of <Figure 2>.  

Also you can set use of DWORD/FLOAT address x 2 and IP address of computer at the part of ¡®DWORD/FLOAT Address x 2¡¯, ¡®Server(PC) IP Address¡¯ shown in <Figure 2>.

<Figure 3> Example of GP Ethernet communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Writing settings

You can set GP series touch panel by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care. ( Fixed to 0 )

3)  ADDRESS          Write address in memory.

Extra1 : X, X2,  higher 3 ~ 7 digit = word unit decimal address,  lower 1 digit = 0 ~ F bit position.

Extra1 : W, W2, D, D2, F, F2,  word/double word/float unit decimal address.

4)  Extra1                   Write memory type = X(bit unit), X2(bit unit), W, W2, D, D2, F, F2.

5)  Extra2                   Don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 031F, EXTRA1 : X,  EXTRA2 : 0

The setting parameter shown above is a digital write(On/Off) example for 31 word, F bit address.

 

Write example 2) 

PORT : 0  Station : 0, ADDRESS : 157A, EXTRA1 : X,  EXTRA2 : 0

The setting parameter shown above is a digital write(On/Off) example for 157 word, A bit address.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care. ( Fixed to 0 )

3)  ADDRESS          Write address in memory.

Extra1 : X, X2,  higher 3 ~ 7 digit = word unit decimal address,  lower 1 digit = 0 ~ F bit position.

Extra1 : W, W2, D, D2, F, F2,  word/double word/float unit decimal address.

4)  Extra1                   Write memory type = X(bit unit), X2(bit unit), W, W2, D, D2, F, F2.

5)  Extra2                   Don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0000, EXTRA1 : W,  EXTRA2 : 0

The setting parameter shown above is word write example for 0 word memory address.

 

Write example 2) 

PORT : 0  Station : 0, ADDRESS : 0502, EXTRA1 : W,  EXTRA2 : 0

The setting parameter shown above is word write example for 502 word memory address.

 

Write example 3) 

PORT : 0  Station : 0, ADDRESS : 0120, EXTRA1 : D,  EXTRA2 : 0

The setting parameter shown above is double word(Lo Hi order) write example for 120 double word memory address.( When you set 'use of DWORD/FLOAT address x 2', address = 240 word )

 

Write example 4) 

PORT : 0  Station : 0, ADDRESS : 2150, EXTRA1 : F,  EXTRA2 : 0

The setting parameter shown above is float word write example for 2150 double word(change standard float format) memory address.( When you set 'use of DWORD/FLOAT address x 2', address = 4300 word )

 

Write example 5) 

PORT : 0  Station : 0, ADDRESS : 0005, EXTRA1 : D2,  EXTRA2 : 0

The setting parameter shown above is double word(Hi Lo order) write example for 5 double word memory address.( When you set 'use of DWORD/FLOAT address x 2', address = 10 word )

 

3. connection of communication cable and main power

Connection of communication cable and main power are as follows.

 

Connection of communication cable

Please connect normal RJ45 communication cable to ethernet socket of GP series touch panel computer.

<Figure 4> is appearence of GP series touch panel computer.

<Figure 4> Appearence of GP series touch panel computer

 

Connection of main power

Please connect 24 V DC main power to +, -  power connector.